package com.hucheng.user.api.feign;

import com.hucheng.user.api.query.UserQuery;
import com.hucheng.user.api.vo.UserVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author: 凉白开不加冰
 * @Version: 0.0.1V
 * @Date: 2019-06-13
 * @Description: 用户服务fei客户端
 **/
@FeignClient(name = "hucheng-springcloud-feign-user-provider")
public interface UserFeignClient {
    @RequestMapping(value = "/user/findUserByName", method = RequestMethod.POST)
    UserVO findUserByName(UserQuery userQuery);
}
